package com.itshen.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient("order-service")
public interface OrderClient {
    @PutMapping("/order/{orderId}")
    void markOrderPaySuccess(@PathVariable("orderId") Long orderId);


}
